package com.example.kafka.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 日志DTO
 * @author wkj
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserQueryLog {
    private String userId;
    private String query;
    private LocalDateTime timestamp;
    private String serviceName;
    private String methodName;
    private boolean success;
    private String message;
}